home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / U-Z / Vim 3.0.sit / vim / everything else / macros / center next >
Encoding:
Text File  |  1994-10-14  |  169 b   |  4 lines  |  [TEXT/VIM!]

  1. "This macro centers a line in an 80 character space.
  2. "Careful: lines longer than 80 characters will be truncated
  3. map ;ce :s/^[     ]*//
  4. $ma81a |D`alld0:s/  / /g
  5. $p
  6. k$x
  7.